package com.zhangliuliu.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("disease")
public class DiseaseBean {
    /**
     * 病害实体
     */
    @TableId(value = "pk_disId",type = IdType.AUTO)
    private int DisId;
    @TableField("dis_name")
    private String DisName;
    //病原
    @TableField("noxa")
    private  String noxa;
    //发病症状
    @TableField("disease")
    private String disease;
    //发病规律
    @TableField("regular")
    private String  regularity;
    //图片
    @TableField("img")
    private String picture;
    //防治措施
    @TableField("dis_control")
    private String DisControl;
    //主要危害
    @TableField("dis_harm")
    private  String DisHarm;

    public DiseaseBean() {
    }

    public DiseaseBean(String disName, String noxa, String disease, String regularity, String picture, String disControl, String disHarm) {
        DisName = disName;
        this.noxa = noxa;
        this.disease = disease;
        this.regularity = regularity;
        this.picture = picture;
        DisControl = disControl;
        DisHarm = disHarm;
    }

    public int getDisId() {
        return DisId;
    }

    public void setDisId(int disId) {
        DisId = disId;
    }

    public String getDisName() {
        return DisName;
    }

    public void setDisName(String disName) {
        DisName = disName;
    }

    public String getNoxa() {
        return noxa;
    }

    public void setNoxa(String noxa) {
        this.noxa = noxa;
    }

    public String getDisease() {
        return disease;
    }

    public void setDisease(String disease) {
        this.disease = disease;
    }

    public String getRegularity() {
        return regularity;
    }

    public void setRegularity(String regularity) {
        this.regularity = regularity;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getDisControl() {
        return DisControl;
    }

    public void setDisControl(String disControl) {
        DisControl = disControl;
    }

    public String getDisHarm() {
        return DisHarm;
    }

    public void setDisHarm(String disHarm) {
        DisHarm = disHarm;
    }

    @Override
    public String toString() {
        return "DiseaseBean{" +
                "DisId=" + DisId +
                ", DisName='" + DisName + '\'' +
                ", noxa='" + noxa + '\'' +
                ", disease='" + disease + '\'' +
                ", regularity='" + regularity + '\'' +
                ", picture='" + picture + '\'' +
                ", DisControl='" + DisControl + '\'' +
                ", DisHarm='" + DisHarm + '\'' +
                '}';
    }
}
